package tgc.edu.yzy.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.yzy.custom.CommonService;
import tgc.edu.yzy.entity.EimAdministrator;
import tgc.edu.yzy.repostory.AdministratorRepository;

@Service
public class AdministatorService extends CommonService<EimAdministrator, Integer>{
	@Autowired
	private AdministratorRepository adminsDAO;

	public long count() {
		return adminsDAO.count();
	}
}
